home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ein
/
sources
/
memsrc.lzh
/
MEM
/
RES_PANL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-26
|
5KB
|
221 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int ID_PANEL[12] ;
extern int func_Quit() ;
extern int func_Close() ;
extern int func_getSize() ;
extern int func_mallocMem() ;
extern int func_purgeMem() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataRES_PANL = { "MmiInit", 12, 0 } ;
/* ID_PANEL[0] */
static MMIPACKET d001 = { &ID_PANEL[0],
NULL,
&MJ_WINDOWL40,
OFFSET(WINDOWL40),
MS_NONE
} ;
static WINDOWL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_TITLEL40,
312, 212, 488, 323, 8, 4, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0,
1, 17, 0, 0,
128, 96, 640, 480,
0,
"élemoryédmptyélanager",
} ;
/* ID_PANEL[1] */
static MMIPACKET d002 = { &ID_PANEL[1],
&ID_PANEL[0],
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d002d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40,
316, 215, 327, 226, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
func_Quit,
0x801d, 548
} ;
/* ID_PANEL[2] */
static MMIPACKET d003 = { &ID_PANEL[2],
&ID_PANEL[0],
&MJ_ICONL40,
OFFSET(ICONL40),
MS_NONE
} ;
static ICONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40,
471, 215, 482, 226, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
func_Close,
0x000b, 549
} ;
/* ID_PANEL[3] */
static MMIPACKET d004 = { &ID_PANEL[3],
&ID_PANEL[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
320, 234, 407, 253, 8, 4, 8,
MS_NONEL40,
"É▌ÆΦë┬ö\âüâéâè",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* ID_PANEL[4] */
static MMIPACKET d005 = { &ID_PANEL[4],
&ID_PANEL[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d005d = { MS_CENTERL40 | MS_DSPONLYL40,
320, 262, 407, 281, 8, 4, 8,
MS_NONEL40,
"èmò█âüâéâè(MB)",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* ID_PANEL[5] */
static MMIPACKET d006 = { &ID_PANEL[5],
&ID_PANEL[0],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d006d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_DSPONLYL40,
412, 236, 463, 251, 8, 4,15,
MS_DFRAMEL40 | MS_FRAMEL40,
0,
0x0000
} ;
/* ID_PANEL[6] */
static MMIPACKET d007 = { &ID_PANEL[6],
&ID_PANEL[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d007d = { MS_RIGHTL40 | MS_DSPONLYL40,
415, 238, 458, 249, 8, 4,15,
MS_OPAQUEL40,
" 0.000",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* ID_PANEL[7] */
static MMIPACKET d008 = { &ID_PANEL[7],
&ID_PANEL[0],
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d008d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
412, 256, 479, 287, 8, 4,15,
MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
func_getSize,
1, 12, 12,
MS_NONEL40,
0, 0,
0, 0,999999, 100, 3,
263, 264
} ;
/* ID_PANEL[8] */
static MMIPACKET d009 = { &ID_PANEL[8],
&ID_PANEL[0],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d009d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
360, 292, 399, 315, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40 | MS_DEFAULTL40,
func_mallocMem,
0x8012
} ;
/* ID_PANEL[9] */
static MMIPACKET d010 = { &ID_PANEL[9],
&ID_PANEL[0],
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d010d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
412, 292, 451, 315, 8, 4, 8,
MS_UFRAMEL40 | MS_FRAMEL40,
func_purgeMem,
0x8011
} ;
/* ID_PANEL[10] */
static MMIPACKET d011 = { &ID_PANEL[10],
&ID_PANEL[0],
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d011d = { MS_CENTERL40 | MS_DSPONLYL40,
362, 294, 397, 313, 8, 4, 8,
MS_NONEL40,
"èlô╛",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* ID_PANEL[11] */
static MMIPACKET d012 = { &ID_PANEL[11],
&ID_PANEL[0],
&MJ_MSGL40,
0,
MS_NONE
} ;
static MSGL40 d012d = { MS_CENTERL40 | MS_DSPONLYL40,
414, 294, 449, 313, 8, 4, 8,
MS_NONEL40,
"öjèⁿ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;